<div class="form_container">
	<h4>Manage Award</h4>
	<!--row starts-->
	<div class="row1">
		<div class="table-responsive">
			<table border="0" cellspacing="0" cellpadding="0" class="manage_table">
				<tr>
					<td width="8%">S.No.</td>
					<td width="24%">Event Name</td>
					<td width="14%">Award Name</td>
					<td width="14%" >Admin Incharge</td>
					<td width="13%">Chief Panelist</td>
					<td width="9%">Status</td>
					<td width="8%">Scoring</td>
					<td width="5%">Edit</td>
					<td width="5%" >Delete</td>
				</tr>
				<?php if(isset($all_awards) && !empty($all_awards)){
					$i=1; 
					foreach($all_awards as $temp){?>
				<tr>
					<td><?php echo $i; ?></td>
					<td><?php echo $temp['e_name']; ?></td>
					<td><?php echo $temp['a_name']; ?></td>
					<td><?php echo $temp['incharge']; ?></td>
					<td><?php echo $temp['chief']; ?></td>
					<td><?php echo $temp['status']; ?></td>
					<td><a href="javascript:void();" onclick="admin_score('<?php echo $temp['id']?>','<?php echo BASE_URL.'/'.$this -> admin;?>','1000','600')">Scoring</a></td>
					<td><a href="javascript:void();" onclick="edit_award('<?php echo $temp['id']?>','<?php echo BASE_URL.'/'.$this -> admin;?>')"><img src="<?php echo ASSET_URL;?>img/admin/edit.png" style="width:20px;" alt="edit"></a></td>
					<td><a href="javascript:void();" onclick="delete_award('<?php echo $temp['id']?>','<?php echo BASE_URL.'/'.$this -> admin;?>')"><img src="<?php echo ASSET_URL;?>img/admin/delete.png" style="width:20px;" alt="edit"></a></td>
				</tr>
				<?php $i++; }}
				else{?>
					<tr><td colspan="8">No record found</td></tr>
				<?php }?>
			</table>
		</div>
		<div class="space30"></div>
	</div>
	<!--row closed-->
</div>
<!--form closed-->